avahi: Prepare code for support of renderer discovery
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 19 Jan 2019 21:41:13 +0000 (22:41 +0100)
committerSebastian Ramacher <sramacher@debian.org>
Thu, 27 Feb 2020 20:44:49 +0000 (20:44 +0000)
commitc713dfb94d4c6aab31b4a7601513442a2666da75
tree246f54f1e1aca5e06f5b3c7dc484f313ff19e61d
parente30c177221cac82e0e248907304a1fbfc664d6c7
avahi: Prepare code for support of renderer discovery

Instead of passing the services_discovery_t as userdata for the callbacks,
use a struct discovery_sys_t which is common for both the input and renderer
private data structures.

The discovery_sys_t is embedded into the service type specific private
member structs, i.e. struct services_discovery_sys_t (done here) and
struct vlc_renderer_discovery_sys (next patch).

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit da019696fbc76b7afea69b33f2c537c85a350a59)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0005-avahi-Prepare-code-for-support-of-renderer-discovery.patch
modules/services_discovery/avahi.c